<!--
 * @Author: 千锋爱佛僧
 * @公众号: 大前端私房菜
 * @Slogan: 千锋精品教程，好学得不像实力派！
-->

<template>
  <div>
    项目首页
    <div v-for="item in 5" :key="item">
      <router-link :to="`/detail/${item}`">演示动态路由{{ item }}</router-link>
    </div>

    <div v-for="item in 5" :key="item">
      <router-link :to="`/detail01?idx=${item}&name=三丰`"
        >演示query传参{{ item }}</router-link
      >
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped></style>
